package com.part2;

public interface Constants {
	
	
	public static final String USER_IN_SESSION= "user_in_session";
	public static final int USER_TYPE_ADMIN = 0;
	
	public static final String NEWS_TYPE_NEWS = "0";
	public static final String NEWS_TYPE_STRAFF = "1";
	public static final String NEWS_TYPE_TRAN = "2";
	public static final String NEWS_TYPE_SUPPORT = "3";
	
	public static final String PRO_UPLOAD_ATT_FILE_PATH = "/view/products/UploadAtt/";
	public static final String PRO_UPLOAD_PIC_FILE_PATH = "/view/products/UploadImg/";
	
	public static final String PRO_URL = "productAction.do?method=show&pId=";
	public static final String PRO_LIST_URL = "productAction.do?method=show&start=";
	public static final String PRO_HTML_PATH = "/view/products/";
	//网址路径最后读取info中的公司网址,先暂时使用localhost测试
	public static final String NEWS_LIST_URL = "newsAction.do?method=show&start=";
	public static final String NEWS_URL = "newsAction.do?method=show&nId=";
	public static final String NEWS_HTML_PATH = "/view/news/";
	
	public static final int PRE_PAGE_SIZE = 12;
}
